package com.neusoft.tijiancms.mapper;

import com.neusoft.tijiancms.po.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    /**
     * 根据userId查询User对象
     * @param userId
     * @return
     */
    @Select("select * from users where userId=# {userId}")
    public Users getUserById(String userId);
}
